<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <!-- 加载编辑器的容器 -->
    <script id="container" name="content" type="text/plain">
    </script>
    <!-- 配置文件 -->
    <script type="text/javascript" src="__PUBLIC__/Web/Ueditor/ueditor.config.js"></script>
    <!-- 编辑器源码文件 -->
    <script type="text/javascript" src="__PUBLIC__/Web/Ueditor/ueditor.all.js"></script>
    <script type="text/javascript" charset="utf-8" src="__PUBLIC__/Web/Ueditor/lang/zh-cn/zh-cn.js"></script>
    <!-- 实例化编辑器 -->
 </head>



<body>
<div>

    <form action="__APP__/Index/addItem" method="post">

        title: <input name="title" type="text">
        <br>
        type: <input name="type" value="1" type="text" readonly>
        <br>
            <empty name="Think.session.USER">
                我没有登陆
                <else />
                {$_SESSION['USER']['nickname']}
            </empty>

        <br>
        <br>
        <br>

        <script type="text/plain" id="editor" name="myContent">
        </script>
        <input type="submit" name="submit" value="提交">
    </form>
</div>


<script type="text/javascript">
    //实例化编辑器
    var ue = UE.getEditor('editor');
</script>
</body>
</html>